package org.example.editor;

import org.example.strategy.EditorStrategy;

public class EditorContext {
    private EditorStrategy editorStrategy;
    public void setEditorStrategy(EditorStrategy editorStrategy){
        this.editorStrategy = editorStrategy;
    }
    public void performEditorAction(){
        editorStrategy.performAction();
    }
}
